package Event;

import javax.swing.*;
import java.awt.*;

public class MyJText extends JTextField {
    public MyJText(String info, int x, int y, Container co) {
        JLabel jl = new JLabel(info);
        jl.setBounds(x,y,60,30);
        co.add(jl);

        this.setBounds(x+50,y,100,30);
        co.add(this);
    }
}
